﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Common.Entitys
{
    public class BaseEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public Guid Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime {  get; set; }

        /// <summary>
        /// 创建者ID
        /// </summary>
        public string? CreatorId {  get; set; }      
        
        /// <summary>
        /// 最新修改时间
        /// </summary>
        public DateTime? LastModificationTime {  get; set; }

        /// <summary>
        /// 最新修改者ID
        /// </summary>
        public string? LastModifierId { get; set; }
    }
}
